include ../Makefile.shared

define PROJ_condcirc
  SOURCES = condAcParseType.ml condAcParser.mly condAcLexer.mll condnode.ml condcirc.ml 
  RESULT = condcirc
endef
export PROJ_condcirc

# If the environment does not define subprojects to handle,
# then set a default
ifndef SUBPROJS
  export SUBPROJS = condcirc
endif

export LIBS=ext str unix mn


# Default target to use
all: ncl
	cp condcirc.mli condcirc.cmi condcirc.cmxa condcirc.a $(SRCLIBDIR)

# Catch-all target will be applied to all subprojects automatically
%:
	@$(MAKE) -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@
